﻿using System;
using System.ComponentModel.DataAnnotations;

namespace INSE6260.OnlineBanking.Model.Transaction
{
    public class PaymentHistory
    {
        [DisplayFormat(DataFormatString = "{0:dd-MMM-yyyy}")]
        public DateTime PayDate { get; set; }

        public string PayeeName { get; set; }

        public decimal Amount { get; set; }

        public int RefNo { get; set; }
   }

    public class TransactioHistory
    {
        [DisplayFormat(DataFormatString = "{0:dd-MMM-yyyy}")]
        public DateTime TransactionDate { get; set; }

        public string Description { get; set; }

        public decimal Amount { get; set; }

        public decimal? WithdrawalAmount { get; set; }

        public decimal? DepositAmount { get; set; }

        public decimal Balance { get; set; }

        public int RefNo { get; set; }
    }
}
